package com.company.base;

public  abstract class BaseNode {
    public Integer val;

    public BaseNode(Integer value) {
        this.val = value;
    }


    public  String printValue(){
        return val.toString();
    }
    @Override
    public String toString() {
        return "BaseNode{" +
                "value=" + val +
                '}';
    }
}
